﻿using Domain;
using Microsoft.EntityFrameworkCore;

namespace Infratructure
{
    public class MyDBcontext : DbContext
    {
        public MyDBcontext(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 商品模块
        /// </summary>
        public DbSet<GoodsModel> GoodsModel { get; set; }
        /// <summary>
        /// 养殖模块
        /// </summary>
        public DbSet<BreedModel> BreedModel { get; set; }
        /// <summary>
        /// 屠宰模块
        /// </summary>
        public DbSet<KillModel> KillModel { get; set; }
        /// <summary>
        /// 深加工模块
        /// </summary>
        public DbSet<DeepProcessModel> DeepProcessModel { get; set; }
        /// <summary>
        /// 用户模块
        /// </summary>
        public DbSet<UserModel> UserModel { get; set; }
    }
}
